home *** CD-ROM | disk | FTP | other *** search
/ Network Support Library / RoseWare - Network Support Library.iso / pressgen / lwprnt.txt < prev    next >
Text File  |  1993-05-24  |  2KB  |  58 lines

  1. This document describes the printing options available with LAN
  2. WorkPlace for DOS.
  3.  
  4. The two types of printing described below are:
  5.  
  6.     - Printing from Unix to a local/Netware printer.
  7.  
  8.       - Printing from DOS to a Unix printer.
  9.  
  10.  
  11. 1.  Printing from Unix to a local/Netware printer.
  12.  
  13. Host Presenter has several options for printing.  You can use the 
  14. FILE-PRINT option off the main menu to print screens, the scroll 
  15. buffer, a selected area, or continuously as data is displayed on the
  16. screen.  The "bypass printer driver" setting can be used to avoid
  17. having the Window's print drivers filter out printer control codes.
  18.  
  19. Both Host Presenter and TNVT220 support the DEC VT220 and VT100
  20. printer escape sequences.  These allow you to print thru the telnet
  21. session, without displaying the data on the screen.  The following
  22. Unix script can be used for this purpose:
  23.  
  24.     echo "printing $1..."
  25.     echo "\033[5i"
  26.     cat $1
  27.     echo "\033[4i"
  28.         
  29. For Host Presenter, this will print to the default printer.  For
  30. TNVT220, it will use the printer specified under setup (alt-s).  
  31.  
  32. Currently the above commands do not work for TNVT220 in VT100 mode. A
  33. workaround is to switch to VT220 mode prior to printing, and to
  34. switch back to VT100 mode afterwards.  This can be done with the
  35. following commands:
  36.  
  37.     echo "\033[62\042p"
  38.         <script shown above>
  39.     echo "\033[61\042p"
  40.  
  41.  
  42. 2.  Printing from DOS to a Unix printer.
  43.  
  44. The RPR/LPR utilities can be used to print files from DOS to a Unix
  45. printer.  However, these utilities do not allow you to redirect
  46. printer ports (eg. LPT1) directly to Unix printers.
  47.  
  48. If you have the NFS client for LAN WorkPlace, you can redirect
  49. your printer ports to Unix printers.
  50.  
  51. You can also accomplish this indirectly with Netware NFS or Flex/IP.
  52. A Netware print queue is created for the Unix printer, and the PC
  53. printer port is redirected to the Netware print queue using the
  54. "capture" command.
  55.  
  56.  
  57.  
  58.